<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="/pages/common/base/Base.jsp"%>
<script>
	//JavaScript代码区域
	layui.use('element', function() {
		var element = layui.element;
	});
</script>
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">项目管理</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<ul class="layui-nav layui-layout-left">
					<shiro:hasPermission name="task-add"> 
						<li class="layui-nav-item"><a href="/web2019/project/addTask.action">添加任务</a></li>
					</shiro:hasPermission>
				<li class="layui-nav-item"><a href="javascript:;">其它系统</a>
					<dl class="layui-nav-child">
						<shiro:hasPermission name="life"> 
							<dd>
								<a href="/web2019/pages/index.action">生活管理</a>
							</dd>
						</shiro:hasPermission>
						<shiro:hasPermission name="finance"> 
							<dd>
								<a href="/web2019/pages/index2.action">财务管理</a>
							</dd>
						</shiro:hasPermission>
						<shiro:hasPermission name="system"> 
							<dd>
								<a href="/web2019/pages/index4.action">系统管理</a>
							</dd>
						</shiro:hasPermission>
						<shiro:hasPermission name="study"> 
							<dd>
								<a href="/web2019/pages/index5.action">学习管理</a>
							</dd>
						</shiro:hasPermission>
					</dl>
				</li>
			</ul>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item"><a href="javascript:;"> <img
						src="/web2019/pictures/head_default.jpg" class="layui-nav-img"><shiro:principal property="realName"/>
				</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="/web2019/user/baseInfo.action">基本资料</a>
						</dd>
						<dd>
							<a href="/web2019/user/updatePassword.action">密码修改</a>
						</dd>
					</dl>
				</li>
				<li class="layui-nav-item"><a href="/web2019/home/logout.action">退出</a></li>
			</ul>
		</div>

		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="test">
					<shiro:hasPermission name="task-manage"> 
						<li class="layui-nav-item layui-nav-itemed"><a class=""
							href="javascript:;">任务管理</a>
							<shiro:hasPermission name="task-list"> 
							<dl class="layui-nav-child">
								<dd>
									<a href="/web2019/project/task-list.action">任务列表</a>
								</dd>
							</dl>
							</shiro:hasPermission>
						</li>
					</shiro:hasPermission>
					<shiro:hasPermission name="project-manage">
					<li class="layui-nav-item layui-nav-itemed"><a class=""
						href="javascript:;">项目管理</a>
						<shiro:hasPermission name="project-list">
						<dl class="layui-nav-child">
							<dd>
								<a href="/web2019/project/project-list.action">项目列表</a>
							</dd>
						</dl>
						</shiro:hasPermission>
						<shiro:hasPermission name="project-param-list">
						<dl class="layui-nav-child">
							<dd>
								<a href="/web2019/project/project-param-list.action">项目参数列表</a>
							</dd>
						</dl>
						</shiro:hasPermission>
					</li>
					</shiro:hasPermission>
					<shiro:hasRole name="admin">
					<li class="layui-nav-item layui-nav-itemed"><a class=""
						href="javascript:;">工作管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="/web2019/work/sqlImport.action">SQL分析</a>
							</dd>
						</dl>
						<dl class="layui-nav-child">
							<dd>
								<a href="/web2019/work/sqlImprove.action">值得提升sql 添加</a>
							</dd>
						</dl>
					</li>
					</shiro:hasRole>
					<shiro:hasRole name="admin">
					<li class="layui-nav-item layui-nav-itemed"><a class=""
						href="javascript:;">构建管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="">mybatis 自动生成</a>
							</dd>
						</dl>
						<dl class="layui-nav-child">
							<dd>
								<a href="">constant 自动生成</a>
							</dd>
						</dl>
					</li>
					</shiro:hasRole>
				</ul>
			</div>
		</div>
	<div class="layui-body">
